using System.IO;
using Directory=Lucene.Net.Store.Directory;

namespace LuceneSearch.Indexer
{
    public interface IIndexWriter
    {
        void IndexFile(FileInfo info);
        int GetDocumentCount();
        void Optimize();
        void Close();
        void AddIndexes(Directory[] dirs);
        Directory GetDirectory();
    }
}